QT += core gui 

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

win32: LIBS +=  -lsetupapi

CONFIG += c++11

INCLUDEPATH += $$PWD\\Lib\\hidapi\\include
LIBS += $$PWD\\Lib\\hidapi\\x64\\hidapi.dll

INCLUDEPATH += include

SOURCES += \
    main.cpp \
    src\mainwindow.cpp

HEADERS += \
    Lib\hidapi\include\hidapi.h \
    Lib\hidapi\include\hidapi_winapi.h \
    include\mainwindow.h


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
